﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using GOAP.Actions;

namespace GOAP.Entities
{
    class Dwarf : Entity
    {
        public Dwarf()
        {
            goapData["node"] = "node0";
            addAction(new MoveTo());
        }

        public void spawn(Node node)
        {
            //Initialize goapData
            goapData["node"] = node.name;
            goapData["health"] = "10";
        }

        override public void copyMembers(Entity copy)
        {
            base.copyMembers(copy);
        }

        override public Entity clone()
        {
            Dwarf copy = new Dwarf();
            copyMembers(copy);
            return copy;
        } 
    }
}
